package com.itwn.vo;

public class PermissionVo {
    private Integer id;
    private String name;
    private Integer parentId;
    private String url;
    private Integer urlType;

    public PermissionVo() {
    }

    public PermissionVo(Integer id, String name, Integer parentId, String url, Integer urlType) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.url = url;
        this.urlType = urlType;
    }

    public Integer getUrlType() {
        return urlType;
    }

    public void setUrlType(Integer urlType) {
        this.urlType = urlType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "PermissionVo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", url='" + url + '\'' +
                ", urlType=" + urlType +
                '}';
    }
}
